<!DOCTYPE html>
<!-- saved from url=(0035)https://yx.ibikang.com/jump/toKucun -->
<html lang="en" style="width:100%" class="no-touch"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <!--<base href="https://yx.ibikang.com:443/">-->
    <title>比康医箱</title>
    <meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">  
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="shortcut icon" href="https://yx.ibikang.com/favicon.ico" type="image/x-icon">
	<link href="../static/css/kucun.css" rel="stylesheet" type="text/css">	
	<link href="../static/css/style.css" rel="stylesheet" type="text/css">
	<link href="../static/css/table.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" type="text/css" href="../static/css/shangpin-ruku.css">
	<link rel="stylesheet" type="text/css" href="../static/css/pagination.css">
	<link rel="stylesheet" type="text/css" href="../static/css/bootstrap-datetimepicker.min.css">
  </head>
  <body style="width:100%">
 
<link rel="shortcut icon" href="https://yx.ibikang.com/favicon.ico" type="image/x-icon">
<link href="../static/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="../static/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/css/app.css" id="maincss">
<link rel="stylesheet" type="text/css" href="../static/css/button.css">
<link rel="stylesheet" type="text/css" href="../static/css/dialog.css">
<link rel="stylesheet" type="text/css" href="../static/css/pagination.css">
<link rel="stylesheet" type="text/css" href="../static/css/common-style.css">
<script type="text/javascript">
	var path = '';		
</script>
<script src="../static/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.validator.min.js"></script>
<script type="text/javascript" src="../static/js/zh-CN.js"></script>
<script src="../static/js/jquery.cookie.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.storageapi.js"></script>
<script type="text/javascript" src="../static/js/app.js"></script>
<script src="../static/js/common.js"></script>
<script src="../static/js/common-getInfo.js"></script>
<script src="../static/js/common-validate.js"></script>
<script src="../static/js/common-util.js"></script>
<script src="../static/js/common-dataBind.js"></script>
<script src="../static/js/jquery.PrintArea.js"></script>
<script language="javascript" type="text/javascript">
/**获取是否在客户端标志
 * sessionStorage 根据打开浏览器时获取参数*/
function getKeHudbz() {
	var keHudURL =$('#mainIframe').context.referrer;
	function getValue(url, name) {
	    var reg = new RegExp('(\\?|&)' + name + '=([^&?]*)', 'i');
	    var arr = url.match(reg);
	    if (arr) {
	        return arr[2];
	    }
	    return null;
	}
	var where = getValue(keHudURL, 'where');
	if (where != null) {
		if(where == "Q8gmoUGvFHpoSA43EVyVkg==") {
			sessionStorage.setItem('isKeHud', true);
		} else {
			sessionStorage.setItem('isKeHud', false);
		}
	} 
	if (sessionStorage.getItem('isKeHud') == 'true'){
		return true;
	} else if (sessionStorage.getItem('isKeHud') == 'false') {
		return false;;
	}
}
// 客户端标志
var isKeHud = getKeHudbz();
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = ua
		.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] : (s = ua
		.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] : (s = ua
		.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] : (s = ua
		.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
		
//以下进行测试
/* if (Sys.chrome) {
	//document.write('Chrome: ' + Sys.chrome.substr(0,2));
	//目前Chrome浏览器需要判断支持情况
	var banBenHao = Sys.chrome.substr(0, 2);
	if (parseInt(banBenHao) >= 40) {
		//版本号大于53,跳转到登录页
	} else {
		//版本号小于53,跳转到支持页
		window.location.href="/jump/toZhichi"; 
	}
}
if(!Sys.safari&&!Sys.chrome){
	//其他浏览器，都不支持
	window.location.href="/jump/toZhichi"; 
} */
</script>


	
		
	
	
	<input id="yb-init" style="display: none" value="" autocomplete="off">
	


<link rel="stylesheet" type="text/css" href="../static/css/header.css">
<link rel="stylesheet" type="text/css" href="../static/css/input.css"><div class="g-container clearfix" style="margin-bottom:60px">
    	<input id="isYiBao" style="display: none" value="true" autocomplete="off">
    	<header class="header clearfix">
          <div class="h-container">
          	<div class="h-hleft">
	            <img src="../static/image/bk_logox.png" alt="logo" class="h-logo" id="logo">
	            <div class="h-clinic">
	            	
	             天天</div>
	        </div>
            <div class="h-help-ect">
            	<div id="bangz" class="h-help-title">帮助</div>
              	<div class="h-help-img" id="tongzhi">
	              	<div class="h-help-fi">
	              		<i class="fa fa-volume-down fa-lg h-helpimg-i" aria-hidden="true"></i>
	              	</div>
	              	<div class="" style="display: none;">
	              		<em></em>
	              		<div>
	              			<h4 class="h-help-info-h4">通知栏</h4>
	              			<div class="g-hinfo-lists" id="divTongzhi">
	              			</div>
	              			<div class="g-hinfo-more"><a href="https://yx.ibikang.com/jump/toTongzhi">查看全部</a></div>
	              		</div>
	              	</div>
              </div>
              <div class="h-doctor my-message" id="m-message"><span id="helloworld">1767...</span> <i class="fa fa-lg fa-caret-right" aria-hidden="true"></i>
              		<ul class="pull-down-list">
              			<li><a href="https://yx.ibikang.com/jump/toZhanghaoxx">帐户信息</a></li>
              			<li><a href="https://yx.ibikang.com/jump/toYonghuxzzs">我的诊所</a></li>
              			<li><a href="https://yx.ibikang.com/yonghu/tuichu">退出</a></li>
              		</ul>
              </div>
            </div>
           <div class="clearfix g-nav">
		        <div class="nav-left">
		          
		          	<div class="n-weizhenliao nav-l-normal" id="shouy">首页</div>
		          
		          
		          <div class="n-weizhenliao nav-l-normal" id="guahao">挂号</div>
		          
		          
		          	<div class="n-normal-clinic nav-l-normal" id="changguimz">常规门诊</div>
		          
		          
		          	<div class="n-medicine nav-l-normal" id="shouyao">售药</div>
		          
		          
		          	<div class="n-charge nav-l-normal" id="shoufei">收费</div>
		          
		          
		          	<div class="n-repayment nav-l-normal" id="huankuan">还款</div>
		          
		          
		          	
		          		<div class="n-repayment nav-l-normal" id="fayao">发药</div>
		          	
		          		          
		        </div>
		        
		        <div class="nav-right">
		        	<div class="nav-r-normal n-statistics" id="changygn" style="border-bottom: 4px solid rgb(9, 124, 37); height: 60px;">更多功能<i class="fa fa-caret-right fa-lg" aria-hidden="true"></i>
		        		<ul class="pull-down-list">
		        			
	              				<li><div class="n-statistics" id="chaxuntj">查询/统计</div></li>
	              			
	              			<li><div style="display: none" class="n-clinic" id="daijianwp">代煎/外配</div></li>
	              			
	              			<li><div class="n-patient" id="huanzhe">患者</div></li>
	              			
	              			
	              			<li><div class="n-inventory" id="head-kucun">库存</div></li>
	              			
	              			
	              			<li><div class="n-clinic" id="zhensuo">诊所</div></li>
	              			
	              			<li style="display: none" id="yibaoli" class="a-nryibao"><div class="n-yibao" id="yibao">医保</div></li>
	              			
	              			<li><div class="n-yibao" id="xitong-shezhi">系统设置</div></li>
              				
              			</ul>
		        	</div>
		       </div>
		        
		      </div>
          </div>
      </header>
      
		<div class="modal" style="top: 20%;" id="tanceng-denglu">
			<div class="modal-dialog  m-postion" style="width:500px; !important">
				<div class="modal-content .d-content" style="border-top: 2px solid #00b671;border-radius: 0;">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
						<h4 class="modal-title" style="font-size:16px;text-align: center;">您的登录信息已过期，请重新登录</h4>
					</div>
					<div class="modal-body text-center" style="margin:15px;">
						账号：<input type="text" id="exshoujihm" style="height: 30px;padding-left:10px;margin-bottom: 20px;border: 1px solid #ccc;" name="username" value="17673465583" autocomplete="off"><br>
						密码：<input type="password" id="exmima" style="height: 30px;padding-left:10px;margin-bottom: 10px;border: 1px solid #ccc;" name="password">
					</div>
					<div class="modal-footer m-modal-footer" style="font-size:16px;text-align: center;">
						<button type="button" class="btn button" style="background:#00b671;color:#fff;" id="denglu">登录</button>
						<div type="button" class="btn button1" style="background:#fff;border:1px solid #ccc;" id="quxiao" data-dismiss="modal">取消</div>
					</div>
				</div>
			</div>
		</div>
		
	<div class="modal fade" id="tanceng-lodop" tabindex="-1" role="dialog" aria-labelledby="qyjy" aria-hidden="true" style="z-index: 15050">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="width:375px;top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body" style="text-align: center;">
					<span class="modal-title">打印控件未安装(或未启动)!是否立即下载</span>
					<p style="color:#ff0000;font-size:12px;padding:15px 0 0 0;">注：安装后请刷新页面或重新进入。</p>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<a class="btn confirm" id="xiazai" href="https://yx.ibikang.com/scripts/CLodop_Setup_for_Win32NT.exe" target="_self" style="color:#fff;text-decoration:none;">下载</a>
					<button type="button" class="btn canceal new-btn" data-dismiss="modal">取消</button>
				</div>
				
			</div>
		</div>
	</div> 
    <div class="modal fade" id="shangpinjqcz" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
		<div class="modal-dialog modal-lg m-postion">
			<div class="modal-content ybtc-content">
				<div class="modal-header">
					<span>精确查找</span>
					
				</div>
				<div class="modal-body" id="shangpjctj">
					<div class="modal-search clearfix">
						<div class="modal-seh-options">
							<div class="modal-seh-name">
								<label>名称：</label>
								<input type="text" placeholder="请输入商品名称" id="shangpinmc" autocomplete="off">
							</div>
							<div class="modal-seh-company">
								<label>生产厂家：</label>
								<input type="text" placeholder="请输入生产厂家" id="shengchancj" autocomplete="off">
							</div>
							</div>
						<div class="modal-seh-operation clearfix">
							<button class="modal-seh-button btuuon btn" id="search">查询</button>
						</div>
						<div class="modal-seh-laiyuan">
							<label>来源：</label>
							<div class="btn-jingquecz-check" style="margin: 0;"><span class="check check1" id="checkBenzs"></span>本诊所</div>
							<div class="btn-jingquecz-check"><span class="check check1" id="checkPingtk"></span>平台库</div>
						</div>
						<div class="modal-seh-leixing">
							<label>类型：</label>
							<div class="btn-jingquecz-check chazcy"><span class="check ypleixing check1" id="checkYinpian" value="1"></span>饮片</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkZhongcy" value="2"></span>中成药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkHuaxzy" value="3"></span>化学制药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkShengwzy" value="4"></span>生物制药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkQita" value="5"></span>其他</div>
							<div class="btn-jingquecz-check chazhc"><span class="check check1" id="checkHaocai" value="0"></span>耗材</div>
						</div>
					</div>
					<div class="table-list">
				        <div class="table-title s-title" style="border-bottom:0">
				        	<div id="jingquecz_img"></div>
				            <table width="100%" cellpadding="0" border="0" cellspacing="0" id="jingqcz_table" style="table-layout: fixed;">
					             <thead>
					                 <tr>
					                     <th width="20%">商品名称</th>
					                     <th width="25%">包装规格</th>
					                     <th width="30%">生产厂家</th>
					                     </tr>
					              </thead>
					              <tbody id="jingqcz_tbody"></tbody>
				            </table>
				            <div id="pagination-jingqczsp"></div>
				    </div>
				</div>
			</div>
		</div>
	</div>
	</div>
	</div>
	<input id="yb-chongxinqd" type="hidden" value="">
	<input id="yb-yewuzqh" type="hidden" value="">
	<input id="yb-zongedzcs" type="hidden" value="">
	<input id="huanzhexx" type="hidden" value="">
	<input id="yb-duka" type="hidden" value="">
	<input id="yb-initby" type="hidden" value="">
	<input type="hidden" value="" id="yb-jiuzhenxxmx">
    <div id="yb_yuangongid" style="display:none;">413</div>
    <script src="../static/js/header.js"></script> 
    <script type="text/javascript">
    var isYiBao = true
    var path = '';
    var jinrusj = 'null';
    var rukou = 'null';
    var zhensuomc = '天天';
    // 医保显示控制
    if (isKeHud == true && isYiBao == true) {
		$('.a-btnyibao').css('display','inline-block');
		$('.a-nryibao').css('display','block');
    } else {
		$('.a-btnyibao').css('display','none');
		$('.a-nryibao').css('display','none');
    }
    if(jinrusj && jinrusj!='null') {
    	notifyInfo("欢迎进入"+"&nbsp;"+"&nbsp;"+zhensuomc,jinrusj);
    }
    if(rukou == '0' ) {
    	if(jinrusj && jinrusj!='null'&& (new Date().getTime() - Number(jinrusj)) < 3000) {
    		//$('#tanceng-shezhiyd').modal('show');
        }else{
        	$('#tanceng-shezhiyd').modal('hide');
        }
    }
    getPath(path);

    $("#guahao").click(function(){
    	window.location.href= 'guahao.jsp';
    	return false;
    });
    
    $("#head-kucun").click(function(){
    	window.location.href=  path+'toKuncun.html';
    	return false;
    });

    //通知
    $("#imgTongzhi").click(function(){
    	window.location.href= path+'toTongzhi.jsp';
    	return false;
    });
    
    $("#zhensuo").click(function(){
    	window.location.href='toZhensuo.html';
    	return false;
    });
    $("#yibao").click(function(){
    	window.location.href= path+ '/jump/toYibao';
    	return false;
    });
  	//跳转到首页
    $("#shouy").click(function(){
	window.location.href='MyHtml.html';
    });
  	
    function toIndex() {
    	window.location.href= path+'/jump/toIndex?mingcheng='+mingcheng;
    	return false;
    }
    
    $("#shoufei").click(function(){
    	window.location.href= path+'toShoufei.jsp';
    	return false;
    });

    $("#huankuan").click(function(){
    	window.location.href='toHuankuan.html';
    	return false;
    });

    $("#chaxuntj").click(function(){
    	window.location.href=  path+'searchStatistics.html';
    	return false;
    });
    $("#bangz").click(function(){
    	window.location.href="bangzhu.html";
    	return false;
    });
    $("#fayao").click(function(){
    	window.location.href="fayao.jsp";
    	return false;
    });
	$("#shouyao").click(function(){
	   	window.location.href='toShouyao.html';
	   	return false;
	   });
	$("#weizl").click(function(){
	   	window.location.href=  path+'/jump/toWeizl';
	   	return false;
	   });
	
	
   $("#changguimz").click(function(){
   	window.location.href=  path+'toChangguimz.html';
   	return false;
   });	
   $("#daijianwp").click(function(){
   	window.location.href= (path+"/views/daijianwpcf.jsp");
   	return false;
   });	
  $("#huanzhe").click(function(){
	window.location.href='toHuanzhe.html';
	return false;
	});
  $("#xitong-shezhi").click(function(){
	window.location.href= (path+"/views/xitong-shezhi.jsp");
	return false;
	});
// 代煎外配权限
function getDaiJianwpqx() {
	var daijianwpqx;
	$.ajax({
		type: "get",
		url: path + "/yaoshifw/getDaiJianwpqx",
		async: false,
		success: function(res) {
		daijianwpqx= res;
		}
	});
	return daijianwpqx;
}
var daijianwpqx = getDaiJianwpqx();
if (daijianwpqx == true) {
	$('#daijianwp').css('display', 'block');
}
</script>

    <!-- 头部 -->
    <div class="s-container main-scroll-nav" style="padding-bottom:1px;">
		
    <main class="s-main clearfix">
	  	<ul class="g-left-nav" id="g-left-height">
			<li class="g-ln-li "><span class="nav-three nav-durg" id="dhyaopin">药品库存</span></li>
			<li class="g-ln-li "><span class="nav-comsumer-goods">耗材库存</span></li>
 			
			<li class="g-ln-li "><span class="rukugl">入库管理</span></li>
	 			<li class="g-ln-li "><span class="yaopin-pici">药品分批库存</span></li>
				<li class="g-ln-li "><span class="haocai-pici">耗材分批库存</span></li>
 			
			<li class="g-ln-li "><span class="kuc">库存预警</span></li>
		</ul> 
	</main>
		<div class="g-right-content" id="cedan">








	 <!--<base href="https://yx.ibikang.com:443/">--><base href=".">

<link href="../static/css/kucun.css" rel="stylesheet" type="text/css">	
<link href="../static/css/button.css" rel="stylesheet" type="text/css">	
<link href="../static/css/input(1).css" rel="stylesheet" type="text/css">					
<div class="container-fluid">
	  <div class="row-fluid clearfix">
        <div class="span12">
            <form class="form-inline clearfix" role="form">
                <fieldset>
                    <legend class="clearfix main-box">
                    	<div class="crumbs-title">
		                    <span><b></b>药品库存</span>
		                </div>
                        <div class="float-two">
	                        <ul>
	                        	<li>
	                        		<span class="label">药品名：</span>
	                        		<div class="form-group pull-left le-inline col-xs-3 col-sm-3 col-md-3 col-lg-3 input-box" style="border:none;">
		                                <input type="text" class="input-sm in-xm" placeholder="请输入药品名称" id="ypjl-mingcheng">
		                        	</div>
	                        	</li>
	                        	<li>
	                        		<div class="form-group pull-left le-inline col-xs-2 col-sm-2 col-md-2  col-lg-2 fenlei-two">
		                            	<span class="label">分类：</span>
		                                <div class="btn-group menu-up dropdown-search-li">
		                                		<input type="hidden" id="yp-leibie" value="0">
										    	<div class="btn dropdown-toggle btn-sm u-button-select select-menu" data-toggle="dropdown" tabindex="0" id="f-le-fenlei">全部</div>
											   	<ul class="dropdown-menu li-width" id="leixing" role="menu">
											   	  <li value="0">全部</li>
											      <li value="1">饮片</li>
											      <li value="2">中成药</li>
											      <li value="3">化学制药</li>
											      <li value="4">生物制药</li>
											      <li value="5">其他</li>
											   	</ul>
										 	</div>
										</div>
	                        	</li>
	                        	<li>
	                        		<div class="form-group pull-left le-inline col-xs-2 col-sm-2 col-md-2  col-lg-2 zhuangt-two">
			                        	<span class="label">状态：</span>
			                       		<div class="btn-group menu-up dropdown-search-li">
			                       			<input type="hidden" id="yp-zhuangt" value="0">
											<div class="btn dropdown-toggle btn-sm u-button-select select-menu" data-toggle="dropdown" tabindex="0" id="f-le-zhuangtai">
											启用	
											</div>
										   	<ul class="dropdown-menu li-width" role="menu" id="ul-ypzhuangtai">
										   		<li value="2">全部</li>
										        <li value="0">启用</li>
										    	<li value="1">禁用</li>
										  	</ul>
										 </div>
			                        </div>
	                        	</li>
	                        <li>
	                        		<div class="form-group pull-right le-btn-inline col-xs-5 col-sm-5 col-md-5 col-lg-4 button-box">
			                            <span class="btn search button" id="chaxun">查询</span>
			                            <div class="btn b-rest button button1" id="le-reset">重置</div>
			                            <span class="btn add button button-add" id="le-add">新建</span>
			                        </div>
	                        	</li>
	                        </ul>
	                    </div>
                    </legend>
                </fieldset>
            </form>
        </div>
    </div>
    <div id="yp-img"><img src="../static/image/cxtj-nobody.png"></div>
     <div class="row-fluid tb-background c-height table-list" id="a-table-list" style="display: none;">
        <div class="span12 table-title">
            <div class="tab-header">
            	<table class="table table-center tab-title">
                  <tbody><tr>
                      <th class="col-sm-1  col-md-1 col-lg-1" width="7%">序号</th>
                      <th class="col-sm-1  col-md-1 col-lg-1 left" width="19%">药品名</th>
                      <th class="col-sm-1  col-md-1 col-lg-1" width="9%">分类</th>
                      <th class="col-sm-1  col-md-1 col-lg-1" width="11%">规格</th>        
                      <th class="col-sm-1  col-md-1 col-lg-1 left" width="19%">生产厂家</th>        
                      <!-- <th class="col-sm-1  col-md-1 col-lg-1" width="8%">进货价(元)</th> -->
                      <th class="col-sm-1  col-md-1 col-lg-1" width="9%">处方价(元)</th>        
                      <th class="col-sm-1  col-md-1 col-lg-1" width="7%">库存</th>        
                      <th class="col-sm-4  col-md-4 col-lg-3" width="19%">操作</th>                
                      
                  </tr>
            </tbody></table>
            </div>
            <div class="tab-content" style="padding:0; border:none;">
            	<table class="table table-center Tb-list" id="kucunyp"></table>
            	<div id="pagination-fenyyp" style="display: none;"><div class="paginationjs"><div class="paginationjs-pages"><ul><li class="paginationjs-prev disabled"><a>«</a></li><li class="paginationjs-next J-paginationjs-next" data-num="2" title="Next page"><a href="https://yx.ibikang.com/">»</a></li></ul></div><div class="paginationjs-nav J-paginationjs-nav">共 0 条</div></div></div>
            </div>                        
        </div>
    </div>
</div> 

	<script src="../static/js/yaopin.js"></script>
	<script type="text/javascript">
	var path = '';
	//定位参数
	var dwpageNo = 'null';
	var dwming = 'null';
	var dwleixing = 'null';
	var dwzhuangtai = 'null';
	var dwid = 'null';
		//提示信息接收转码变量
	var premsg = 'null';
	var sjc = 'null';
	var kucunpckg = true;
	getYaopintjcs(kucunpckg);
	var msg=decodeURI(decodeURI(premsg));
	//保存成功信息
	if (msg != null && msg != 'null') {
		notifySuccess(msg,sjc);
	}
	getCanshu(dwid,dwpageNo,dwming,dwleixing,dwzhuangtai);
</script>
	</div>
				
    
   </div>
<div class="modal fade" id="tanceng-yjopen" tabindex="-1" role="dialog" aria-labelledby="yujingkq" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
				<h4 class="modal-title" id="yujingkqtext"></h4>
			</div>
			<div class="modal-body">
			      <div class="row text-center">
			      	<input class="input-lg f-tc-kucunxx dialog-text" id="kuxunxx" data-rule="required;length[~10]" placeholder="请输入库存下限" autocomplete="off">
				    <span id="danwei">页</span>
			      </div>
			</div>
			<div class="modal-footer text-center m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn">是</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">否</button>
			</div>
		</div>
	</div>
</div>   
<div class="modal fade" id="tanceng-yjclose" tabindex="-1" role="dialog" aria-labelledby="yujingkq" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>				
			</div>
			<div class="modal-body">
				<h4 class="modal-title" id="yujinggbtext"></h4>
			</div>
			<div class="modal-footer text-center m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn">是</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">否</button>
			</div>
		</div>
	</div>
</div>   
<div class="modal fade" id="tanceng-open" tabindex="-1" role="dialog" aria-labelledby="qyjy" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
				
			</div>
			<div class="modal-body">
				<h4 class="modal-title" id="qiyongtext"></h4>
			</div>
			<div class="modal-footer text-center m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn" id="qiyong">启用</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">关闭</button>
			</div>
		</div>
	</div>
</div>
<div class="modal fade" id="tanceng-close" tabindex="-1" role="dialog" aria-labelledby="qyjy" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
				
			</div>
			<div class="modal-body">
				<h4 class="modal-title" id="jinyongtext"></h4>
			</div>
			<div class="modal-footer text-center m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn" id="jinyong">禁用</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">关闭</button>
			</div>
			
		</div>
	</div>
</div>  
<div class="modal fade" id="tanceng" tabindex="-1" role="dialog" aria-labelledby="hul" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content" style="margin-top:250px;">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
				
			</div>
			<div class="modal-body">
				<!-- <h4 class="modal-title">是否选择忽略</h4> -->
				<h4 class="modal-title" id="tanceng-nr"></h4>
			</div>
			<div class="modal-footer text-center m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn queding">确定</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">取消</button>
			</div>
			
		</div>
	</div>
</div> 
<!-- 保存药品名确认弹框-->
<div class="modal fade" id="tcmingchengqr" tabindex="-1" role="dialog" aria-labelledby="hul" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content" style="margin-top:250px;">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
			</div>
			<div class="modal-body">
				<h4 class="modal-title">保存后名称不能再修改</h4>
			</div>
			<div class="modal-footer text-center m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn" id="btnMingChengqr">确定</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">取消</button>
			</div>
		</div>
	</div>
</div>

<!-- 新增支持拆零确认弹框  -->
<div class="modal fade" id="dialog-chail" tabindex="-1" role="dialog" aria-labelledby="hul" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content" style="margin-top:250px;">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
				
			</div>
			<div class="modal-body">
				<h4 class="modal-title">支持拆零选择后不能再修改</h4>
			</div>
			<div class="modal-footer text-center m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn queding">确定</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">取消</button>
			</div>
			
		</div>
	</div>
</div>
<div class="modal fade" id="tanceng-tzkc" tabindex="-1" role="dialog" aria-labelledby="tiaozhenkc" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
				<h4 class="modal-title">请输入要调整的库存</h4>
			</div>
			<div class="modal-body text-center" style="position: relative;">
				
				<div class=" g-shield g-radio-shield dialog-content" style="margin-bottom:2rem;"> 
					 <input class=" f-tiaozhenkc" type="radio" id="linshou1" name="tioa" checked="checked" value="1">
					 <label class="f-bz-tzkc on" id="zengjia" name="linshou1">&nbsp;&nbsp;&nbsp;增加</label>
					<input class=" f-tiaozhenkc " type="radio" id="linshou2" name="" value="0">
					<label class="f-bz-tzkc" id="jianshao" name="linshou2" style="margin-left:6%;padding-left:1.3rem">&nbsp;&nbsp;&nbsp;减少</label>	
				</div>
					<input class="input-lg dialog-text" id="add-subtraction" autocomplete="off">
					<span class="row-danw" id="kucuntzdw"></span>
			</div>
			<div class="modal-footer m-modal-footer">
				<button type="button" class="btn confirm dialog-obtn" id="tzkc-genggaibtn">更改</button>
				<button type="button" class="btn cancel dialog-obtn new-btn" data-dismiss="modal">取消</button>
			</div>
		</div>
	</div>
</div> 
<div class="modal fade" id="tanceng-yaopinbg" tabindex="-1" role="dialog" aria-labelledby="tiaozhenkc" aria-hidden="true" style="z-index: 15050">
	<div class="modal-dialog modal-sm m-postion">
		<div class="modal-content d-content" style="width:1024px;left:-355px;">
			<div class="modal-header" style="padding:25px; font-size:16px;">
				<button type="button" class="close" data-dismiss="modal" style="display:block"><span class="sr-only icon-close"></span></button>
				<h4 class="modal-title" style="font-size:16px;"><span id="biangenmc"></span><span id="biangenye" class="dangqianye"></span></h4>
			</div>
			<div class="modal-body text-center" style="position: relative;">
				<div class="table-list biandongsj" style="width:950px;margin:0 auto;padding-top:0px;">
					<table width="100%">
						<thead>
							<tr>
								<th width="10%">序号</th>
								<th width="20%">变动时间</th>
								<th width="15%">变动方向</th>
								<th width="15%">变动数量</th>
								<th width="15%">变动后余额</th>
								<th width="35%" class="left" style="padding-left:40px;">说明</th>
							</tr>
						</thead>
						<tbody id="picibg"></tbody>
					</table>
					<div id="pagination-fenyhcpc"></div>
				</div>
				
			</div>
			<div class="modal-footer m-modal-footer">
			</div>
		</div>
	</div>
</div> 
    
  
    <script src="../static/js/pagination.min.js"></script>
  <script src="../static/js/kucun.js"></script>

  <script type="text/javascript">
	var path = '';
	var flag='null';
	var leixing='null';
	var kuncunid='null';
	var zhensuohcid='null';
	var zhensuoypid='null';
	var yemianrk='null';
	var strYeMiancs='null';
	var navMingChen = 'null';
	//flag=0时从首页更多跳转到库存预警，else从模块进入默认加载药品，ＦＬＡＧ等于２从首页库存预警处理进入 flag = 3跳到商品入库页面
	if (yemianrk == 'ybyaopin') {
		$("#cedan").load(path+"/views/kucun/yaopin-detail.jsp?yemianrk=ybyaopin&YeMiancs="+strYeMiancs);
	} else if (yemianrk == 'ybhaocai'){
		$(".g-left-nav li span").css("border","none");
        $(".g-left-nav li span.nav-comsumer-goods").css("border","solid 1px #00b472");
		$("#cedan").load(path+"/views/kucun/haocai-detail.jsp?yemianrk=ybhaocai&strYeMiancs="+strYeMiancs);
	}
	if (flag==0){
		flag=null;
		$("#cedan").load(path+"/views/kucun/kuc-kucunyj.jsp?dwpageNo=1");
		$(".s-main ul li span").each(function(index){
        	$(".s-main ul li span").css("border","none");
            $(this).css("border","solid 1px #00b472");
  	 	 });
	}else if(flag==2){
		flag=null;
		if(leixing==2){
			$("#cedan").load(path+"/views/kucun/yaopin-detail.jsp?FLAG=3&ID="+kuncunid);
		}else if(leixing==3){
			$('.g-ln-li span').css('border','none');
			$('span.nav-comsumer-goods').css('border','solid 1px #00b472');
			$("#cedan").load(path+"/views/kucun/haocai-detail.jsp?FLAG=3&ID="+kuncunid);
		}
	}else if(flag==3){
		$("#cedan").removeData();
		//$("#cedan").load(path+"/views/kucun/kucun-pici/shangpin-ruku.jsp?FLAG=3&zhensuohcid="+zhensuohcid+"&zhensuoypid="+zhensuoypid);
		window.location.href = path+"/views/kucun/rukugl/rukugl-dengji.jsp?FLAG=3&zhensuohcid="+zhensuohcid+"&zhensuoypid="+zhensuoypid;
		$(".g-left-nav li span").css("border","none");
        $(".g-left-nav li span.shangpinrk").css("border","solid 1px #00b472");
	}else if (yemianrk == 'null'){
		flag=null;
		$("#cedan").load(path+"/views/kucun/yaopin.jsp");
	}

	
</script>


</body></html>